package com.entrogy.bean;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;

/**
 * @ClassName FinalNoticeCommentEntity
 * @Description
 * @Author luoxingjiang
 * @Date 2019-12-18 上午 10:16
 * @Version 1.0
 **/
@SuppressWarnings("serial")
@AllArgsConstructor
@NoArgsConstructor
@Data
@Accessors(chain = true)
public class FinalNoticeEntity {

    private Integer id;

    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;

    private String createUserId;

    // 学期
    private String term;

    // 学年
    private String termOfYear;

    // 家长评价与建议
    private String parentEvaluate;

    // 考试id
    private Integer examId;

    private Integer finalNoticeContentId;

    private Integer finalNoticeTeacherCommentId;

    private Integer studentId;



    // 通知书内容
    private FinalNoticeContentEntity finalNoticeContent;

    // 属于学生的通知书
    private StudentBasicInfoEntity student;

    private String schoolName;



}
